<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="mainMenu" />
<meta name="nav" content="0" />
<meta name="acc" content="0" />
<title>人员资质</title>
<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
<script>
	$(document).ready(function() {
		alert('${typeId}');
		$("#certificateDate").addClass("Wate").bind("focus", function(){
		   	 WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd'});});
	});

</script>
</head>
<body>
<form action="userqualification!save.action" method="post" class="yform"
	id="inputForm" enctype="multipart/form-data"><input type="hidden" name="id" value="${id }" />
<table class="noborder">
	<tr class="type-text">
		<td>技术职称&nbsp;<font color="red">*</font>:</td>
		<td><input type="text" name="technicalTitle" id="technicalTitle" value="${technicalTitle}" />
		<input type="hidden" name="projectId" value="${projectId}" /> <input
			type="hidden" name="organizationId" value="${organizationId}" /> <input
			type="hidden" name="deptId" value="${deptId}" /> <input type="hidden"
			name="userdeptId" value="${userdeptId}" /> <input type="hidden"
			name="typeId" value="${typeId}" />
			<input type="hidden" name="userId" value="${userId}" />
			</td>
		<td>职称&nbsp;<font color="red">*</font>:</td>
		<td><input type="text" id="title" name="title"
								value="${title}" /></td>
	</tr>
	<tr class="type-text">
		<td>检测人员证书编号 &nbsp;<font color="red">*</font>:</td>
		<td><input  type="text" name="code" value="${code}"/> </td>
		<td>发证机关&nbsp;<font color="red">*</font>:</td>
		<td><input type="text" id="certificate" name="certificate" value="${certificate}" /></td>
	</tr>
	<tr class="type-text">
		<td>发证日期&nbsp;</td>
		<td>
			<input type="text" id="certificateDate" name="certificateDate"  value="${certificateDate}"/>
		</td>
		<td>行业&nbsp;</td>
		<td><input type="text" id="undertake" name="undertake"
			value="${undertake}" /></td>
	</tr>
	<tr class="type-text">
		<td>附件&nbsp;<font color="red">*</font>:</td>
		<td colspan="3"><input name="attachments.upfile" type="file" />
		
		<c:if test="${null!=qualificationfile}">
		<a title="下载"
					href="${ctx}/servlet/annex?id=${attachment.id}" target="_blank">已上传文件${attachment.upfileFileName},</a>
			重新上传,将覆盖
		</c:if>
		</td>
	</tr>
	<tr class="type-text">
		<td>备注&nbsp;</td>
		<td colspan="3"><input type="text" id="remark" name="remark"
			value="${remark}" /></td>
	</tr>
</table>
<div class="type-button"><input id="submitBtn"  
	type="submit" class="submit" value="提交" />&nbsp; <input
	  type="button" value="返回" class="reset"
	onclick="history.back()" /></div>
</form>
</body>
</html>